package com.tianji.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.common.Result;
import com.tianji.order.pojo.Orders;

import java.math.BigDecimal;
import java.util.concurrent.ExecutionException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈佳
 * @since 2024-10-13
 */
public interface OrdersService extends IService<Orders> {

    void createOrder(Long userId, BigDecimal amount);

    Result parkDataSummary() throws ExecutionException, InterruptedException;
}
